package com.xnx3.banmahuishou.core.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import com.xnx3.j2ee.entity.BaseEntity;

/**
 * 订单评价记录
 * @author 王晓龙
 */
@Entity()
@Table(name = "laji_order_evaluation_record")
public class OrderEvaluationRecord extends BaseEntity implements java.io.Serializable {
	private Integer id;	//订单id,对应shop_order.id, 不是自增的ID
	private Integer serviceAttitude;	//服务态度评价分数, 最高5分, 例如3.5分 这里写35
	private Integer recyclingPrice;	//回收价格评价分数, 最高5分, 例如3.5分 这里写35
	private Integer recoveryAging;	//回收时效评价分数, 最高5分, 例如3.5分 这里写35
	private String orderEvaluation;	//订单评价,用户评语
	private Integer orderEvaluationScore;	//订单评分, 最高5分,是前边三个维度的平均分。 例如: 3.5分  这里是35, 
	
	@Id
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "service_attitude", columnDefinition="int(3) comment '服务态度评价分数, 最高5分, 例如3.5分 这里写35'")
	public Integer getServiceAttitude() {
		return serviceAttitude;
	}
	public void setServiceAttitude(Integer serviceAttitude) {
		this.serviceAttitude = serviceAttitude;
	}
	@Column(name = "recycling_price", columnDefinition="int(3) comment '回收价格评价分数, 最高5分, 例如3.5分 这里写35'")
	public Integer getRecyclingPrice() {
		return recyclingPrice;
	}
	public void setRecyclingPrice(Integer recyclingPrice) {
		this.recyclingPrice = recyclingPrice;
	}
	@Column(name = "recovery_aging", columnDefinition="int(3) comment '回收时效评价分数, 最高5分, 例如3.5分 这里写35'")
	public Integer getRecoveryAging() {
		return recoveryAging;
	}
	public void setRecoveryAging(Integer recoveryAging) {
		this.recoveryAging = recoveryAging;
	}
	@Column(name = "order_evaluation", columnDefinition="char(255) COLLATE utf8mb4_unicode_ci COMMENT '订单评价,用户评语' default ''")
	public String getOrderEvaluation() {
		return orderEvaluation;
	}
	public void setOrderEvaluation(String orderEvaluation) {
		this.orderEvaluation = orderEvaluation;
	}
	@Column(name = "order_evaluation_score", columnDefinition="int(3) comment '订单评分, 最高5分,是前边三个维度的平均分。 例如: 3.5分  这里是35, '")
	public Integer getOrderEvaluationScore() {
		return orderEvaluationScore;
	}
	public void setOrderEvaluationScore(Integer orderEvaluationScore) {
		this.orderEvaluationScore = orderEvaluationScore;
	}
	@Override
	public String toString() {
		return "OrderEvaluationRecord [id=" + id + ", serviceAttitude=" + serviceAttitude + ", recyclingPrice="
				+ recyclingPrice + ", recoveryAging=" + recoveryAging + ", orderEvaluation=" + orderEvaluation
				+ ", orderEvaluationScore=" + orderEvaluationScore + "]";
	}
	
}
